package list;


public class TestLinkedList {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		DirtyLinkedList list = new DirtyLinkedList();
		list.add("chen");
		list.add("ke");
		list.add("wen");
		list.add("tweller");
		list.add("ke");
		System.out.println(list.toString());
		System.out.println(list.lastIndexOf("tweller"));
		list.clear();
		System.out.println(list.toString());
	}
}
